<?php
/*
# ------------------------------------------------------------------------
# JA Job Board Package
# ------------------------------------------------------------------------
# Copyright (C) 2004-2010 JoomlArt.com. All Rights Reserved.
# @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
# Author: JoomlArt.com
# Websites: http://www.joomlart.com - http://www.joomlancers.com.
# ------------------------------------------------------------------------
*/
if($this->err !="")
{
	echo $this->err;
	
}
global $option;

?>
<form action="index.php" method="get" name ="adminForm">
<input type="hidden" name="task" value="">
<input type="hidden" name="tranid" value="<?php echo $this->tranid?>">
<input type="hidden" name="ajax" value="1">
<input type="hidden" name="type" value="invoice">
<input type="hidden" name="view" value="jatransactions">
<input type="hidden" name="option" value="<?php echo $option;?>">
</form>
<table width="100%" class="contentpane">
<tr>
<th colspan="2">
<h3>
<?php echo JText::_('INVOICE')?>
</h3>
</th>
</tr>
<?php
$invoice =$this->invoice ;
?>
<tr>
<td>
<div><b><?php echo JText::_('BILL TO')?></b></div>
<?php echo $invoice->bill_to_info?>
</td>
<td>
<div><b><?php echo JText::_('SHIP TO')?></b></div>
<?php echo $invoice->ship_to_info?>
</td>
</tr>
<tr>
<td colspan="2">
<h3></h3>
<div><?php echo JText::_('INCOIVE NO').": ".$invoice->transactionid?></div>
<div><?php echo JText::_('INVOICE TYPE').": ".$invoice->type?></div>
<div><?php echo JText::_('DATE').": ".$invoice->date_create?></div>
<div><?php echo JText::_('AMOUNT').": ".$invoice->amount." ".$setup->currency .$setup->currencytype?></div>
<div><?php echo JText::_('DETAILS').": ".$invoice->details?></div>
<?php if($invoice->completed==1) $status = JText::_('Paid'); else $status = JText::_('Not Paid');?>
<div><?php echo JText::_('STATUS').": ".$status?></div>
</td>
</tr>
<tr>
<td align="center">
<?php echo JText::_('THANK YOU FOR USING OUR SERVICE '); ?>
</td>
</tr>
</table>